package com.jmb.api.web.mapper;

import com.alibaba.fastjson2.JSONArray;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jmb.api.entity.Role;
import com.jmb.api.vo.role.RoleQueryVO;
import com.jmb.api.vo.role.RoleVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 金梦博
* @description 针对表【t_role】的数据库操作Mapper
* @createDate 2025-09-25 17:20:51
* @Entity com.jmb.api.entity.Role
*/

@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    IPage<Role> pageRoleByQuery(IPage<Role> roleVOPage, RoleQueryVO queryVO);

    List<String> selectPermissionCodeArrayByRoleId(Long roleId);
}




